﻿namespace KelonProud.Mvc.Models
{
   public class DropDownSelectModel : ViewBaseModel
    {
        public DropDownSelectModel()
        {
            Placeholder = "请选择";
            IdKey = "Id";
            TextKey = "Text";
            AllowNull = false;
            AllowSearch = true;
            NullItemValue = " ";
            NullItemText = "--无--";
        }

        public string Url { get; set; }

        public object Data { get; set; }

        public string Placeholder { get; set; }

        public bool IsMultiple { get; set; }

        public string OnChangedEvent { get; set; }

        public string OnChangingEvent { get; set; }

        public string IdKey { get; set; }

        public string TextKey { get; set; }

        public bool AllowNull { get; set; }

        public bool AllowSearch { get; set; }

        public string NullItemValue { get; set; }

        public string NullItemText{ get; set; }

        public bool IsDisabled { get; set; }
    }
}
